﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PurchaseInfo_Left.aspx.cs" Inherits="Catering.Catering_Page.Caipin.PurchaseInfo_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>制作食谱</title>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />   
    <link rel="stylesheet" type="text/css" href="../../Style/ekangframe.css"/>
    <link rel="stylesheet" type="text/css" href="../../Style/ekangcomplex.css"/>
    <link rel="stylesheet" type="text/css" href="../../Style/jquery.alerts.css" media="screen"/>
    <link rel="stylesheet" type="text/css" href="../../Style/jquery.treeview.css"/>
    <link rel="stylesheet" type="text/css" href="../../Style/contextmenu.css"/>
    <link rel="stylesheet" type="text/css" href="../../Style/jqueryload.css"/>

   <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script type="text/javascript" src="../../Style/zhezhao.js"></script>  
  

    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <script type="text/javascript">

        var IsTZ = false;
        $(document).ready(function () {

            $(document).bind("selectstart", function () { return false; });

            var uid = "1";
            $("#treeview_list>ul>li").mousedown(function (event) {

                uid = $(this).find("a").attr("uid");
                $.ajax({
                    type: "Post",
                    url: "../../PostDate.aspx/CaiPin_Info_Tedian",
                    data: "{'Dish_ID':'" + uid + " '}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (data) {
                        $("#cai_info", $("#frame_1_3").contents()).html("<ul><li name=\"id\" style=\"display:none;\">" + uid + "</li><li>菜品名称:" + data.d[1] + "</li><li>菜品特点:" + data.d[0] + "</li></ul>");
                        $("#cai_info").html("<ul><li name=\"id\" style=\"display:none;\">" + uid + "</li><li>菜品名称:" + data.d[1] + "</li><li>菜品特点:" + data.d[0] + "</li></ul>");
                        $("#cai_info").css("display", "block");
                        $("#cai_info").css({ left: event.pageX + 5 + 'px', top: event.pageY + 5 + 'px' });
                        IsTZ = true;
                    }
                });


            });

            $(document).mousemove(function (event) {
                if ($("#cai_info", $("#frame_1_3").contents()).css("display") == "block") {
                    $("#cai_info", $("#frame_1_3").contents()).css("display", "none");
                    $('#cai_info').css("display", "block");
                }
                $("#cai_info").css({ left: event.pageX + 5 + 'px', top: event.pageY + 5 + 'px' });
            });

            $(document).mouseup(function () {
                $("#cai_info").css("display", "none");
                IsTZ = false;
            });
        });
        function showDivDateTime(flag) {
            if (flag == 1) {
                window.location.href = 'new_peic.aspx';
            }
            if (flag == 2) {
                window.location.href = 'select_Date.aspx';
            }
            if (flag == 3) {
                window.location.href = 'shipu_left.aspx';
            }
        }
   </script>
   <style type="text/css">
     .display_none{display:none;}
     .display_block{display:block;}
     #cai_info{position: absolute; border: 1px solid #2a77af;width: 150px; height: 180px; z-index: 1001; background-color: #f9a000; display:none;padding:5px;filter: Alpha(Opacity=90);}
     #cai_info li{width:100%;margin-bottom:5px; color:#fff;}
   </style>
</head>
<body>
    <div id="cai_info">
        
    </div>

    <div class="nav_2">
        <div class="nav_2_1">
            <img src="../../Images/nav2_bg1.gif" /></div>
        <ul>
            <li><a href="new_peic.aspx" onclick="showDivDateTime(1);ulliClick(1,3);return false;"><span id="span_peic_1"
                class="lvse_border">配餐人群设置</span></a></li>
            <li><a href="select_Date.aspx" onclick="showDivDateTime(2);ulliClick(2,3);return false;">
                <span id="span_peic_2" class="lvse_border">选择配餐日期</span></a></li>
            <li style="background: none"><a href="shipu_left.aspx" onclick="showDivDateTime(3);ulliClick(3,3);return false;">
                <span id="span_peic_3" class="lvse_border">生成食谱</span></a></li>
        </ul>
        <div class="nav_2_3">
            <img src="../../Images/nav2_bg2.gif" /></div>
    </div>

    <div class="Center_Content">
        <div class="Create_Recipe">
            <div class="left_CR">
                <div class="Recipe_0206">
                    <h1>
                        <a href="#rhis" onclick='divshow("divmain","divup")'>选择菜谱</a></h1>
                    <div class="Dl_div" style="height:540px">
                        <h2> 北方菜系-春季菜谱</h2>
                        <div id="DishList">
                            <div style="width:175px; height:490px; overflow:auto;">
                                <ul style="float: left; height: 100%;" id="ultreebrowserdish"
                                class="filetree treeview" regioncode="0" preli="ultreebrowserdishatreeUc01-010"
                                jquery162008932314952499082="22">
                                    <li id="ultreebrowserdishlitree0" class="open">
                                        <a id="ultreebrowserdishatree0" jquery162008932314952499082="0"><label>菜肴</label></a>
                                    <%= ViewState["DishList"] %>
                                    </li>
                                </ul>
                            </div>
                        </div>
       
                        <div class="soso_lt" style="float:left;">
                            <input name="" type="text" class="inup_soso_lt" /><input name="" type="button" class="button_soso_lt" />
                        </div>
                    </div>
                </div>
            </div>
            <div class="Right_CR">
            
           <div style="z-index: 2; width:790px;  display: block; height: 571px; visibility: visible; overflow: hidden; 
            right: 0px; left: 303px" id="mainContent" class="middle-center pane pane-center open" >
            <div style="border-bottom: medium none; height: 571px; border-left: medium none; 
                overflow: hidden; border-top: medium none; border-right: medium none" id="divmainframecontent"
                class="ui-layout-content">
                <iframe id="frame_1_3" class="ui-layout-center" src="PurchaseInfo_Regth.aspx"
                    frameborder="0" name="frame_1_3"></iframe>w zai b
            </div>
        </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
    </div>
    <!--遮罩层-->
    <div id="divmain" class="bg">
    </div>
    <!--弹出层-->
    <div id="divup" class="center_div">
        <table>
            <tr>
                <td>
                    <div class="div_0207 left_width400" style="width: 100%">
                        <h1>
                            <img src="../../Images/cp_h1_03.gif" />菜谱库</h1>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="swxx_table">
                            <thead>
                                <tr>
                                    <td style="width: 50px">
                                        序号
                                    </td>
                                    <td style="width: 150px">
                                        菜谱库名称
                                    </td>
                                    <td style="width: 250px">
                                        备注
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td class="xh_td">
                                        1
                                    </td>
                                    <td>&nbsp;
                                        
                                    </td>
                                    <td align="center">
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </td>
            </tr>
            <tr align="center">
                <td align="center">
                    <div align="center" class="img_touxiang">
                        <table align="center">
                            <tr align="center">
                                <td align="center">
                                    <a href="#">确定</a>
                                </td>
                                <td align="center">
                                    <a href="#" onclick='divhidel("divmain","divup")'>关闭</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
	<!--===分割线=====-->
	
	<!--遮罩层-->
    <div id="divmain2" class="bg">
    </div>
    <!--弹出层-->
    <div id="divup2" class="center_div">
        <table>
            <tr>
                <td>
                    <div class="div_0207 left_width400" style="width: 100%">
                        <h1>
                            <img src="../../Images/cp_h1_03.gif" />食谱库</h1>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="swxx_table">
                            <thead>
                                    <tr>
                                        <td style="width: 50px">
                                            序号
                                        </td>
                                        <td style="width: 200px">
                                            名称
                                        </td>
                                        <td style="width: 80px">
                                            食谱周期
                                        </td>
                                        <td style="width: 130px">
                                            创建时间
                                        </td>
                                        <td style="width: 65px">
                                            平均年龄
                                        </td>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td class="xh_td">
                                            1
                                        </td>
                                        <td>
                                            2012-02-02至2012-02-25食谱
                                        </td>
                                        <td>
                                            5
                                        </td>
                                        <td>
                                            2012-02-02
                                        </td>
                                        <td>
                                            5.04
                                        </td>
                                    </tr>
                                </tbody>
                                <tbody>
                                    <tr>
                                        <td class="xh_td">
                                            1
                                        </td>
                                        <td>
                                            2012-02-02至2012-02-25食谱
                                        </td>
                                        <td>
                                            5
                                        </td>
                                        <td>
                                            2012-02-02
                                        </td>
                                        <td>
                                            3.11
                                        </td>
                                    </tr>
                                </tbody>
                        </table>
                    </div>
                </td>
            </tr>
            <tr align="center">
                <td align="center">
                    <div align="center" class="img_touxiang">
                        <table align="center">
                            <tr align="center">
                                <td align="center">
                                    <a href="#">确定</a>
                                </td>
                                <td align="center">
                                    <a href="#" onclick='divhidel("divmain2","divup2")'>关闭</a>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>